package com.ruoyi.system.domain.deviceAlarm;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

@Data
public class Spo2Alarm {
    private String timeStamp;
    private int spo2;

    public Spo2Alarm(JSONObject data){
        timeStamp=(String)data.get("timeStamp");
        spo2=(Integer)data.get("spo2");
    }
}